package com.demoReflect;

public class myReflect {

   
    public static void main(String[] args) throws ClassNotFoundException {
        
        Class c3 = Student.class;
        System.out.println(c3.getName());
        System.out.println(c3.getSimpleName());

        Class c2 = Class.forName("com.Student");
        System.out.println(c3 == c2);
        Student stu1 = new Student();

        Class c1 = stu1.getClass();
        System.out.println(c1.getName());
    }
}